package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
@Mapper
public interface CartMapper {

    List<ShoppingCart> getCart(ShoppingCart cart);

    Integer updateCart(ShoppingCart shoppingCart);

    void add(ShoppingCart cart);

    List<ShoppingCart> getList();

    void delete(Long userId);
}
